//
// Created by miaomiaole on 2023/6/5.
//

#ifndef CMAKECXX_ARRAY_TEST_H
#define CMAKECXX_ARRAY_TEST_H

#include <tuple>
#include <string>
#include <list>


typedef std::tuple<int, double, int, double> MyTuple;

extern MyTuple myTuple;

void print_MyTuple();


void print_vector();


// 双端队列
void print_deque();


void operator_list();

struct item {
    int a;
    std::string str;
    double c;
};

class _Obj {
private:
    std::string str;
public:
    //无参构造
    _Obj();

    // 复制构造
    _Obj(const _Obj &obj) noexcept;

    _Obj(const _Obj && obj) noexcept;

    // 析构
    virtual ~_Obj();

    const std::string &getStr() const;

    void setStr(const std::string &str);


    _Obj operator=(_Obj obj);

};

class Number {
    _Obj obj;

    _Obj *obj_prt;


};

void operator_number();



#endif //CMAKECXX_ARRAY_TEST_H

